﻿namespace Remember.Persistence
{
    /// <summary>
    /// 用于用户登陆
    /// </summary>
    public interface IAuthentication
    {
        /// <summary>
        /// 验证用户登陆
        /// </summary>
        /// <param name="emailAddress"></param>
        /// <param name="password"></param>
        /// <returns></returns>
        bool IsValid(string emailAddress, string password);
    }
}
